<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: opencv2/imgcodecs.hpp File Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_e603770d9ec39c9ea5c833816cf0568d.html">opencv2</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">imgcodecs.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="../../d0/d9c/core_2include_2opencv2_2core_8hpp.html">opencv2/core.hpp</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d2/d75/namespacecv"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></td></tr>
<tr class="memdesc:d2/d75/namespacecv"><td class="mdescLeft">&#160;</td><td class="mdescRight">"black box" representation of the file storage associated with a file on disk. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga61d9b0126a3e57d9277ac48327799c80"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ga61d9b0126a3e57d9277ac48327799c80">cv::ImreadModes</a> { <br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80aeddd67043ed0df14f9d9a4e66d2b0708">cv::IMREAD_UNCHANGED</a> = -1, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80ae29981cfc153d3b0cef5c0daeedd2125">cv::IMREAD_GRAYSCALE</a> = 0, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80af660544735200cbe942eea09232eb822">cv::IMREAD_COLOR</a> = 1, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80a0b486c93c25e8a0b0712681bb7254c18">cv::IMREAD_ANYDEPTH</a> = 2, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80ab6573b69300c092b61800222fe555953">cv::IMREAD_ANYCOLOR</a> = 4, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80a1b482916f4ffe34f0b90550f267fd896">cv::IMREAD_LOAD_GDAL</a> = 8, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80a64063c4e6a917237bd2daef7aa23dc01">cv::IMREAD_REDUCED_GRAYSCALE_2</a> = 16, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80a4d3de7230e2682195e09b00728792b37">cv::IMREAD_REDUCED_COLOR_2</a> = 17, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80a7903236181de9ade28ba1438b342e6c8">cv::IMREAD_REDUCED_GRAYSCALE_4</a> = 32, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80adf4fbfe43fb7c8c94ca008e7d7d20086">cv::IMREAD_REDUCED_COLOR_4</a> = 33, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80a838097893b5d5385d43e6a4470227a33">cv::IMREAD_REDUCED_GRAYSCALE_8</a> = 64, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80ac865811dba56b17a8241f9e62c273198">cv::IMREAD_REDUCED_COLOR_8</a> = 65, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga61d9b0126a3e57d9277ac48327799c80a34f91a514cd95127d8ba900840af548e">cv::IMREAD_IGNORE_ORIENTATION</a> = 128
<br />
 }<tr class="memdesc:ga61d9b0126a3e57d9277ac48327799c80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Imread flags.  <a href="../../d8/d6a/group__imgcodecs__flags.html#ga61d9b0126a3e57d9277ac48327799c80">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga61d9b0126a3e57d9277ac48327799c80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7682010f3485d86cd963504aa7ad6146"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ga7682010f3485d86cd963504aa7ad6146">cv::ImwriteEXRCompressionFlags</a> { <br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a0c31f206cd9469a9a12a131a14dd8066">cv::IMWRITE_EXR_COMPRESSION_NO</a> = 0, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a9df4442565f77b586bd2f4aea45ec2ed">cv::IMWRITE_EXR_COMPRESSION_RLE</a> = 1, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a1a01f8cab2f18a2570727bfeb9e59521">cv::IMWRITE_EXR_COMPRESSION_ZIPS</a> = 2, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a2e27bf64b5d149d3df4ce952b2666da9">cv::IMWRITE_EXR_COMPRESSION_ZIP</a> = 3, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a201bd49e4dbcf36181e7bbf1adf6189b">cv::IMWRITE_EXR_COMPRESSION_PIZ</a> = 4, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a1c58571086123c174bf8a7a2566c205a">cv::IMWRITE_EXR_COMPRESSION_PXR24</a> = 5, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a490d7b948c06bb9da7d8d5b9f4090866">cv::IMWRITE_EXR_COMPRESSION_B44</a> = 6, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a9433a1a51d231d9ab11757e5be524036">cv::IMWRITE_EXR_COMPRESSION_B44A</a> = 7, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146af065a15ca34c4efecd841f5f8257910a">cv::IMWRITE_EXR_COMPRESSION_DWAA</a> = 8, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga7682010f3485d86cd963504aa7ad6146a6abb8796c9d82f7fe8b052444b492a2e">cv::IMWRITE_EXR_COMPRESSION_DWAB</a> = 9
<br />
 }</td></tr>
<tr class="separator:ga7682010f3485d86cd963504aa7ad6146"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga47d07d14b3c33151daac7fde6f34e897"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ga47d07d14b3c33151daac7fde6f34e897">cv::ImwriteEXRTypeFlags</a> { <br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga47d07d14b3c33151daac7fde6f34e897a15ef5fdee6e2a55b4d0a1f9b2874fb96">cv::IMWRITE_EXR_TYPE_HALF</a> = 1, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga47d07d14b3c33151daac7fde6f34e897ad6a009ca0724b2e8bcbe0b60f395f2c7">cv::IMWRITE_EXR_TYPE_FLOAT</a> = 2
<br />
 }</td></tr>
<tr class="separator:ga47d07d14b3c33151daac7fde6f34e897"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga292d81be8d76901bff7988d18d2b42ac"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ga292d81be8d76901bff7988d18d2b42ac">cv::ImwriteFlags</a> { <br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca947af22db2cf6f1f482289b0985b09ec">cv::IMWRITE_JPEG_QUALITY</a> = 1, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca32ab52a075fc4e2ca23760a80b3fcd12">cv::IMWRITE_JPEG_PROGRESSIVE</a> = 2, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42acae80c3e72393ec86b8ea1db4a2a228b5f">cv::IMWRITE_JPEG_OPTIMIZE</a> = 3, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca06f325a56b6b09074d9781de18745560">cv::IMWRITE_JPEG_RST_INTERVAL</a> = 4, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca64c65da14d74ab87143d6999c4df12ea">cv::IMWRITE_JPEG_LUMA_QUALITY</a> = 5, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42acaaba13094b3575e78a6002788b0ae7354">cv::IMWRITE_JPEG_CHROMA_QUALITY</a> = 6, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42acad2548321c69ab9c0582fd51e75ace1d0">cv::IMWRITE_PNG_COMPRESSION</a> = 16, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42acaa95faec46150b372c80c7d4bbedbcf8a">cv::IMWRITE_PNG_STRATEGY</a> = 17, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca8c609ad94b7bd036ef68c51e7f77915f">cv::IMWRITE_PNG_BILEVEL</a> = 18, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca6ad01adc2675d735ec8424e6e7562087">cv::IMWRITE_PXM_BINARY</a> = 32, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca4aed00547168d3a1083a2b1241b99102">cv::IMWRITE_EXR_TYPE</a> = (3 &lt;&lt; 4) + 0, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca57b65c34c4907fb5ea5d685268bea89e">cv::IMWRITE_EXR_COMPRESSION</a> = (3 &lt;&lt; 4) + 1, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca7d3f848cc45d3138de0a2053d213a54a">cv::IMWRITE_WEBP_QUALITY</a> = 64, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42acacc7bb2ed1314ec9278a38d85e83b6623">cv::IMWRITE_PAM_TUPLETYPE</a> = 128, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42acaac188d2ba4ccffdda3d820c8e9dfa7c0">cv::IMWRITE_TIFF_RESUNIT</a> = 256, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca59a88cc19c00988a6677c60e5f6b03d0">cv::IMWRITE_TIFF_XDPI</a> = 257, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42aca76b632839a9f3e542e90fa7bfcfd8b9a">cv::IMWRITE_TIFF_YDPI</a> = 258, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42acad3d5dac0cfc770b96fc61e895a165fa4">cv::IMWRITE_TIFF_COMPRESSION</a> = 259, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga292d81be8d76901bff7988d18d2b42acaa082190a50748f712a6384416c2524dd">cv::IMWRITE_JPEG2000_COMPRESSION_X1000</a> = 272
<br />
 }<tr class="memdesc:ga292d81be8d76901bff7988d18d2b42ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Imwrite flags.  <a href="../../d8/d6a/group__imgcodecs__flags.html#ga292d81be8d76901bff7988d18d2b42ac">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga292d81be8d76901bff7988d18d2b42ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4e6c77a906952525a4d22fb3efea0e01"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ga4e6c77a906952525a4d22fb3efea0e01">cv::ImwritePAMFlags</a> { <br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga4e6c77a906952525a4d22fb3efea0e01a05708faa19fda2b0e3e793542fced3c9">cv::IMWRITE_PAM_FORMAT_NULL</a> = 0, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga4e6c77a906952525a4d22fb3efea0e01a32a5eb9e6aa378ef126a6ec29c710d15">cv::IMWRITE_PAM_FORMAT_BLACKANDWHITE</a> = 1, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga4e6c77a906952525a4d22fb3efea0e01a9f2122f919b87bd6f5209ebe3673478d">cv::IMWRITE_PAM_FORMAT_GRAYSCALE</a> = 2, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga4e6c77a906952525a4d22fb3efea0e01a31754d8e503b394996982d8eeb5916b5">cv::IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA</a> = 3, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga4e6c77a906952525a4d22fb3efea0e01a749f4c5db48aa048ae4dbd8670d7d58d">cv::IMWRITE_PAM_FORMAT_RGB</a> = 4, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gga4e6c77a906952525a4d22fb3efea0e01adfdc63fecaa2abcbe1d98b79030c726a">cv::IMWRITE_PAM_FORMAT_RGB_ALPHA</a> = 5
<br />
 }<tr class="memdesc:ga4e6c77a906952525a4d22fb3efea0e01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Imwrite PAM specific tupletype flags used to define the 'TUPETYPE' field of a PAM file.  <a href="../../d8/d6a/group__imgcodecs__flags.html#ga4e6c77a906952525a4d22fb3efea0e01">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ga4e6c77a906952525a4d22fb3efea0e01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa60044d347ffd187161b5ec9ea2ef2f9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#gaa60044d347ffd187161b5ec9ea2ef2f9">cv::ImwritePNGFlags</a> { <br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ggaa60044d347ffd187161b5ec9ea2ef2f9a5bb296ccb3fab45a113a1cc28bf43abf">cv::IMWRITE_PNG_STRATEGY_DEFAULT</a> = 0, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ggaa60044d347ffd187161b5ec9ea2ef2f9a3def1a542d499f4f05c19efab9d79292">cv::IMWRITE_PNG_STRATEGY_FILTERED</a> = 1, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ggaa60044d347ffd187161b5ec9ea2ef2f9affed3ef30c9147769361546cf0b5ad5a">cv::IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY</a> = 2, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ggaa60044d347ffd187161b5ec9ea2ef2f9a5d75e74ce7cdaf0139f1d44d23734b43">cv::IMWRITE_PNG_STRATEGY_RLE</a> = 3, 
<br />
&#160;&#160;<a class="el" href="../../d8/d6a/group__imgcodecs__flags.html#ggaa60044d347ffd187161b5ec9ea2ef2f9a4663acb92a49bb13104a2769cee7d0c8">cv::IMWRITE_PNG_STRATEGY_FIXED</a> = 4
<br />
 }<tr class="memdesc:gaa60044d347ffd187161b5ec9ea2ef2f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Imwrite PNG specific flags used to tune the compression algorithm.  <a href="../../d8/d6a/group__imgcodecs__flags.html#gaa60044d347ffd187161b5ec9ea2ef2f9">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:gaa60044d347ffd187161b5ec9ea2ef2f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0c3f60f18ed3a139e5a9926f9315e3bc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#ga0c3f60f18ed3a139e5a9926f9315e3bc">cv::haveImageReader</a> (const String &amp;filename)</td></tr>
<tr class="memdesc:ga0c3f60f18ed3a139e5a9926f9315e3bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the specified image can be decoded by OpenCV.  <a href="../../d4/da8/group__imgcodecs.html#ga0c3f60f18ed3a139e5a9926f9315e3bc">More...</a><br /></td></tr>
<tr class="separator:ga0c3f60f18ed3a139e5a9926f9315e3bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0ca4e24f5435a81dfeec720a6e32d852"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#ga0ca4e24f5435a81dfeec720a6e32d852">cv::haveImageWriter</a> (const String &amp;filename)</td></tr>
<tr class="memdesc:ga0ca4e24f5435a81dfeec720a6e32d852"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if an image with the specified filename can be encoded by OpenCV.  <a href="../../d4/da8/group__imgcodecs.html#ga0ca4e24f5435a81dfeec720a6e32d852">More...</a><br /></td></tr>
<tr class="separator:ga0ca4e24f5435a81dfeec720a6e32d852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga26a67788faa58ade337f8d28ba0eb19e"><td class="memItemLeft" align="right" valign="top">Mat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#ga26a67788faa58ade337f8d28ba0eb19e">cv::imdecode</a> (InputArray buf, int flags)</td></tr>
<tr class="memdesc:ga26a67788faa58ade337f8d28ba0eb19e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads an image from a buffer in memory.  <a href="../../d4/da8/group__imgcodecs.html#ga26a67788faa58ade337f8d28ba0eb19e">More...</a><br /></td></tr>
<tr class="separator:ga26a67788faa58ade337f8d28ba0eb19e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a0acefe5cbe0a81e904e452ec7ca733"><td class="memItemLeft" align="right" valign="top">Mat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#ga5a0acefe5cbe0a81e904e452ec7ca733">cv::imdecode</a> (InputArray buf, int flags, Mat *dst)</td></tr>
<tr class="separator:ga5a0acefe5cbe0a81e904e452ec7ca733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga461f9ac09887e47797a54567df3b8b63"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#ga461f9ac09887e47797a54567df3b8b63">cv::imencode</a> (const String &amp;ext, InputArray img, std::vector&lt; <a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga65f85814a8290f9797005d3b28e7e5fc">uchar</a> &gt; &amp;buf, const std::vector&lt; int &gt; &amp;params=std::vector&lt; int &gt;())</td></tr>
<tr class="memdesc:ga461f9ac09887e47797a54567df3b8b63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encodes an image into a memory buffer.  <a href="../../d4/da8/group__imgcodecs.html#ga461f9ac09887e47797a54567df3b8b63">More...</a><br /></td></tr>
<tr class="separator:ga461f9ac09887e47797a54567df3b8b63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga288b8b3da0892bd651fce07b3bbd3a56"><td class="memItemLeft" align="right" valign="top">Mat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56">cv::imread</a> (const String &amp;filename, int flags=IMREAD_COLOR)</td></tr>
<tr class="memdesc:ga288b8b3da0892bd651fce07b3bbd3a56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads an image from a file.  <a href="../../d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56">More...</a><br /></td></tr>
<tr class="separator:ga288b8b3da0892bd651fce07b3bbd3a56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4dd47c9ae3d55cc42286cff005825e31"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#ga4dd47c9ae3d55cc42286cff005825e31">cv::imreadmulti</a> (const String &amp;filename, std::vector&lt; Mat &gt; &amp;mats, int flags=IMREAD_ANYCOLOR)</td></tr>
<tr class="memdesc:ga4dd47c9ae3d55cc42286cff005825e31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads a multi-page image from a file.  <a href="../../d4/da8/group__imgcodecs.html#ga4dd47c9ae3d55cc42286cff005825e31">More...</a><br /></td></tr>
<tr class="separator:ga4dd47c9ae3d55cc42286cff005825e31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabbc7ef1aa2edfaa87772f1202d67e0ce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#gabbc7ef1aa2edfaa87772f1202d67e0ce">cv::imwrite</a> (const String &amp;filename, InputArray img, const std::vector&lt; int &gt; &amp;params=std::vector&lt; int &gt;())</td></tr>
<tr class="memdesc:gabbc7ef1aa2edfaa87772f1202d67e0ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves an image to a specified file.  <a href="../../d4/da8/group__imgcodecs.html#gabbc7ef1aa2edfaa87772f1202d67e0ce">More...</a><br /></td></tr>
<tr class="separator:gabbc7ef1aa2edfaa87772f1202d67e0ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga506e85114c8b4340bb12eca5080205d2"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/da8/group__imgcodecs.html#ga506e85114c8b4340bb12eca5080205d2">cv::imwritemulti</a> (const String &amp;filename, InputArrayOfArrays img, const std::vector&lt; int &gt; &amp;params=std::vector&lt; int &gt;())</td></tr>
<tr class="separator:ga506e85114c8b4340bb12eca5080205d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:33 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
